package cate.common.table.common;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class ParamRow extends ERow {

    @NoteField("参数")
    public String value;

    @NoteField("参数YID")
    public int valueYID;

    @NoteField("备注说明")
    public String note;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("id", -1);
        this.value = xrw.getString("参数");
        this.valueYID = xrw.getInteger("参数YID", -1);
        this.note = xrw.getString("备注说明");
    }

    @Override
    public void decode() {
//        this.value = LangUtil.tt(this.valueYID, this.value);
    }
}
